<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// Route::domain('m.kqba.com', function () {
//     // 动态注册域名的路由规则
//     Route::rule('news/cate/:cate', 'wap/doc/index');
//     Route::rule('news/info/:id', 'wap/doc/info');
//     Route::rule('pindao/info/:id', 'wap/pindao/info');
//     Route::rule('zhibo', 'wap/index/zhibo');
//     Route::rule('zhiboi/:id', 'wap/index/info');
// })->bind('wap');

Route::rule('aboutus$' , 'index/index/aboutus');
Route::rule('copyright$' , 'index/index/cr');
Route::rule('zhibo/:id' , 'index/zhibo/info?id=:id' , 'get' , ['ext' => 'html']);
Route::rule('cat/:title' , 'index/doc/index?title=:title');
Route::rule('cate/:title' , 'index/doc/lists?title=:title');
Route::rule('news/:id' , 'index/doc/info?id=:id' , 'get' , ['ext' => 'html']);
Route::rule('tags', 'index/doc/tags');
Route::rule('qiudui$' , 'index/qiudui/index');
Route::rule('qiudui/zqqd' , 'index/qiudui/lists?id=125');
Route::rule('qiudui/lqqd' , 'index/qiudui/lists?id=126');
Route::rule('qd/:id' , 'index/qiudui/info?id=:id');


// Route::rule('zqlx/$' , 'index/doc/index?cate=101');
// Route::rule('zqlx$' , 'index/doc/index?cate=101');
// Route::rule('zqlx/:id' , 'index/doc/info?id=:id');

// Route::rule('nbalx/$' , 'index/doc/index?cate=100');
// Route::rule('nbalx$' , 'index/doc/index?cate=100');
// Route::rule('nbalx/:id' , 'index/doc/info?id=:id');

// Route::rule('nbajj/$' , 'index/doc/index?cate=102');
// Route::rule('nbajj$' , 'index/doc/index?cate=102');
// Route::rule('nbajj/:id' , 'index/doc/info?id=:id');

// Route::rule('zqjj/$' , 'index/doc/index?cate=103');
// Route::rule('zqjj$' , 'index/doc/index?cate=103');
// Route::rule('zqjj/:id' , 'index/doc/info?id=:id');

return [

];
